package com.cy.myblog.pageModel;

import java.util.Date;
import java.util.HashMap;
import java.util.Map;

public class Article implements java.io.Serializable {

    private static final long serialVersionUID = -4219502618588201634L;
    private String title;
    private String overview;
    private String content;
    private int classifyid;
    private int state;
    private String classifyname;
    private Date releasetime;
    private Map<String, String> classifys = new HashMap<String, String>();

    public String getOverview() {
        return overview;
    }

    public void setOverview(String overview) {
        this.overview = overview;
    }

    public String getClassifyname() {
        return classifyname;
    }

    public void setClassifyname(String classifyname) {
        this.classifyname = classifyname;
    }

    public Map<String, String> getClassifys() {
        return classifys;
    }

    public void setClassifys(Map<String, String> classifys) {
        this.classifys = classifys;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getClassifyid() {
        return classifyid;
    }

    public void setClassifyid(int classifyid) {
        this.classifyid = classifyid;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public Date getReleasetime() {
        return releasetime;
    }

    public void setReleasetime(Date releasetime) {
        this.releasetime = releasetime;
    }

    @Override
    public String toString() {
        return "Article{" +
                "releasetime=" + releasetime +
                ", title='" + title + '\'' +
                ", overview='" + overview + '\'' +
                ", content='" + content + '\'' +
                ", classifyid=" + classifyid +
                ", state=" + state +
                ", classifyname='" + classifyname + '\'' +
                '}';
    }
}
